package homework.work7;

public class Teacher extends Person implements Language{

    @Override
    public void eat() {
        System.out.println("teacher eat");
    }

    @Override
    public void sleep() {
        System.out.println("teacher sleep");
    }

    public Teacher(String name, boolean gender, int age) {
        super(name, gender, age);
    }

    @Override
    public void practiceLanguage() {
        System.out.println("teacher practice language");
    }
}
